package com.du.quant.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("stock_basic")
public class StockBasic {

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("stock_code")
    private String stockCode;

    @TableField("stock_name")
    private String stockName;

    private String market;

    private String industry;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}